<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript">
        //自定义对象形式1
        var person = new Object(); //typeof person为Object
        person.name="gz"
        person.age="23"
        person.say=function (){
            console.log("name: "+this.name+" "+"age: "+this.age+this.address+" " )
                                                            //address为undefined
        }

        console.log(person.name)
        person.say()
    </script>
</head>
<body>

</body>
</html>